package com.lyEducation.repository.base;

import com.lyEducation.entities.base.BaseDataEntity;
import com.lyEducation.util.controllerUtil.JsonResult;

import java.util.List;

public interface BaseDateRepository<X extends BaseDataEntity> extends BaseRepository<X> {

  /**
   * 保存或更新数据对象
   *
   * @param entity
   * @return
   */


  /**
   * 批量操作对象(增删改)
   *
   * @param entityList entity 集合
   * @return
   */
  JsonResult batchObject(List<X> entityList);
}
